package com.woniuxy.lrz.carlproject.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.woniuxy.lrz.carlproject.controller.form.formcar.CarTypeAddOrUpdateForm;
import com.woniuxy.lrz.carlproject.controller.form.shopform.formcar.CarTypeFindForm;
import com.woniuxy.lrz.carlproject.model.CarType;
import com.baomidou.mybatisplus.extension.service.IService;
import com.woniuxy.lrz.carlproject.service.dto.dtocar.CarTypeBrandDto;

import java.util.ArrayList;

/**
 * <p>
 * 汽车车型表 服务类
 * </p>
 *
 * @author lrz
 * @since 2022-09-28
 */
public interface CarTypeService extends IService<CarType> {

    boolean addOrUpdateCarType(CarTypeAddOrUpdateForm carTypeAddOrUpdateForm);

    boolean deleteCarType(Integer carTypeId);

    Page<CarTypeBrandDto> findCarType(CarTypeFindForm carTypeFindForm);
}
